<div class="col-xs-12">
	<div class="row">
		<form class="form-horizontal" role="form" id="form" action="{:U('Member/edit')}">
			<div class="form-group">
				<input type="hidden" name="id" value="{$data.id}">
				<include file="template:input" name="realName" label="姓名" value="{$data.realname}"  attr='data-rule="required;length(~20)" maxlength="20"'/>
				<include file="template:password" name="password" label="密码" value=""   maxlength="40"/>
				<include file="template:input" name="parentaccount" label="推荐人账户" value="{$data.parentaccount}"  attr='data-rule="length(~20)" maxlength="20"'/>
			</div>
			<div class="form-group" style="margin-top: 20px;">
				<include file="template:button" label="保存"/>
			</div>
		</form>
	</div>
</div>